package darknet.core.spec.friend;

import java.security.cert.Certificate;

/**
 * Describe a friend.<br />
 * <br />
 * 
 * A friend has a name and a certificate.
 * 
 * @author yoyo
 */
public interface Friend extends Cloneable {

    /**
     * Get the name of the friend.
     * 
     * @return
     */
    String getName();
    
    /**
     * Get the certificate.
     * @return
     */
    Certificate getCertificate();
}
